import reequest from '@/utils/request'
export const editSp = (data: {
  id: number
  goods_name: string
  goods_price: number
  goods_number: number
  goods_weight: number
  cat_one_id?: number
}) => {
  return reequest({
    url: `goods/${data.id}`,
    method: 'put',
    data,
  })
}
